<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<?php
include ('header.php');
/*
/*
 * minishowcase : the super-easy gallery
 * by victor zambrano <minishowcase@frwrd.net>
 *
 * minishowcase is a small and simple php/javascript online photo gallery,
 * powered by AJAX that lets you put easily your images in an online gallery,
 * without having to configure databases or changing and customising code 
 * (though you may do it if you feel so inclined) allowing you to have an
 * up-and-running gallery in a few minutes.
 *
 *
 * DISCLAIMER: THIS SOFTWARE IS GIVEN 'AS IS' IN THE HOPE THAT IT WILL
 * BE USEFUL, BUT WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED
 * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE;
 *
 *
 * LICENSE: This work is licensed under the
 * ####  Creative Commons Attribution-Share Alike 2.5 License.  ####
 * You should have received a copy of the license with this software.
 * To view a copy of this license, visit
 * http://creativecommons.org/licenses/by-sa/2.5/ or send a letter to
 * Creative Commons, 543 Howard Street, 5th Floor,
 * San Francisco, California, 94105, USA.
 *
 *
 * For more information on minishowcase, please visit:
 * http://minishowcase.frwrd.net
 *
 */

	## error reporting ##
	error_reporting(E_ALL);
 	
	## setting: debug flag ##
	//$debug_main_flag = true; // NOT IN USE
	
	## setting: include header/footer ##
	## set to TRUE to embed the add_header.php and/or add_footer.php files
	$include_header = false;
	$include_footer = false;
	
	
	#### DO NOT CHANGE FROM HERE ####################################
	#### UNLESS YOU KNOW WHAT YOU'RE DOING, OF COURSE ###############
	
	## import init file
	require_once("libraries/general.bootstrap.php");

	## DO NOT REMOVE THIS CODE, PLEASE :) ##
	include("config/version.php");
	print("<!-- \n\tminishowcase $version\n\tby victor zambrano\n\thttp://minishowcase.frwrd.net/\n -->\n");
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $locale_string?>" lang="<?php echo $locale_string?>">

<head>
<script type="text/javascript" src=<?php echo base_url()."js/prototype.js"; ?>></script>
<script type="text/javascript" src=<?php echo base_url()."js/scriptaculous.js?load=effects,builder";?> ></script>
<script type="text/javascript" src=<?php echo base_url()."js/lightbox.js"; ?> ></script>

<link rel="stylesheet" href=<?php echo base_url()."css/lightbox.css"; ?> type="text/css" media="screen" />
<style type="text/css">
#msc_menu {
background:none repeat scroll 0 0 #333333;
border-bottom:1px solid #333333;
border-top:1px solid #333333;
float:left;
font-family:'Trebuchet MS',Tahoma,Verdana,Geneva,Arial;
font-size:10px;
margin:0 0 10px;
padding-top:10px;
position:relative;
width:200px;
}
#msc_menu h1 {
color:#666666;
font-size:18px;
font-weight:normal;
line-height:21px;
margin:0;
padding:6px 0 12px 10px;
}
#msc_menu a {
color:#FFFFFF;
font-family:'Trebuchet MS',Tahoma,Verdana,Geneva,Arial;
font-size:12px;
font-style:normal;
font-weight:bold;
line-height:14px;
text-decoration:none;
}
#msc_menu a:active, a:visited {
text-decoration:none;
}
#msc_menu a:hover {
text-decoration:none;
}
#msc_menu a img.lock {
border:medium none;
padding:0 3px 3px 0;
vertical-align:middle;
}
#msc_menu span, #msc_menu #galleries_menu span {
background:none repeat scroll 0 0 #666666;
display:block;
font-size:12px;
padding:6px 0 6px 10px;
}
#msc_menu ul {
background:none repeat scroll 0 0 #666666;
border-top:1px solid #333333;
display:block;
font-size:12px;
margin:0 0 10px;
padding:4px 0;
}
#msc_menu ul li {
background:none repeat scroll 0 0 #666666;
display:block;
font-size:12px;
margin:0;
padding:4px 0 4px 10px;
}
#msc_menu ul li:hover {
background:none repeat scroll 0 0 #CCCCCC;
}
#msc_menu ul li.odd {
background:none repeat scroll 0 0 #666666;
}
#msc_menu ul li.even {
background:none repeat scroll 0 0 #666666;
}
#msc_menu ul li.topline {
border-top:1px solid #111111;
}
#msc_menu ul li em {
font-size:9px !important;
font-style:normal;
font-weight:normal;
}
#msc_menu ul li a, #msc_menu ul li a:link, #msc_menu ul li a:active, #msc_menu ul li a:visited {
border-left:1px solid #333333;
font-size:12px;
}
#msc_menu ul li a.nonum, #msc_menu ul li a.nonum:link, #msc_menu ul li a.nonum:active, #msc_menu ul li a.nonum:visited {
border-left:0 none;
}
#msc_menu #galleries_menu small {
color:#999999;
font-size:0;
}
#gallery_select_menu select#select_menu {
font-size:1em !important;
}
#msc_menu #toolmenu {
background:none repeat scroll 0 0 #333333;
display:none;
padding:4px 0;
}

#thumbs_version
{
width: 400px;
padding:15px 25px;
margin:5px 40px 75px 240px;
background-color:#F0F0F0;
border:1px solid #909090;
}
#photo
{
background-color:#F0F0F0 ;
width:130px;
height:130px;
padding:10px;
border:1px solid gray;
margin:20px;
}
#header
{
//background-color:#B8B8B8 ;
padding:0px 310px 5px 0px;
margin:5px 14px 0px 1px;
height:50px;
valign:top;
}
h2
{
color:#A80000;
font-family:"Lucida Grande",Arial,sans-serif;
font-weight:normal;
}

</style>

	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<title><?php echo "Gallery"//echo $settings['gallery_title']?></title>
	
	<!-- START CPAINT:JSRS ( http://cpaint.sourceforge.net/ ) -->
	<script type="text/javascript" src=<?php echo base_url()."libraries/cpaint2.inc.compressed.js"; ?>></script>
	<!-- END CPAINT:JSRS -->
	
	
	<?php if($settings['preview_mode'] == 1
		&& file_exists( base_url()."extensions/slimbox/"  )) { ?>
	<!-- START SLIMBOX -->
	<script type="text/javascript" src=<?php echo base_url()."extensions/slimbox/js/mootools.r83.js"; ?> ></script>
	<script type="text/javascript" src=<?php echo base_url()."extensions/slimbox/js/slimbox.js"; ?>></script>
	
	<link rel="stylesheet" href=<?php echo base_url()."extensions/slimbox/css/slimbox.css"; ?> type="text/css" media="screen" />
	<!-- END SLIMBOX -->
	
	<?php } else if($settings['preview_mode'] == 2
		&& file_exists( base_url()."extensions/thickbox_2/" )) { ?>
	<!-- START THICKBOX_2 -->
	<script type="text/javascript" src=<?php echo base_url()."extensions/thickbox_2/jquery.js"; ?> ></script>
	<script type="text/javascript" src=<?php echo base_url()."extensions/thickbox_2/thickbox.js"; ?>></script>
	
	<link rel="stylesheet" href=<?php echo base_url()."extensions/thickbox_2/thickbox.css"; ?> type="text/css" media="screen" />
	<!-- END THICKBOX_2 -->
	<?php } ?>
	
	<!-- START GALLERY CSS -->
	<link rel="stylesheet" href=<?php echo base_url()."libraries/script.loader.php?load=gallery"; ?> type="text/css" media="screen" />
	<!-- END GALLERY CSS -->
	
	<?php if ($include_header | $include_footer) { ?>
	<!-- START HEADER/FOOTER CSS -->
	<link rel="stylesheet" href=<?php echo base_url()."styles/includes.css"; ?> type="text/css" media="screen" />
	<!-- END HEADER/FOOTER CSS -->
	<?php } ?>
	
	<!-- START SCRIPTS/STYLESHEETS FOR IE PC -->
	<!--[if IE]>
		<link href="styles/gallery_ie.css" rel="stylesheet" type="text/css" media="screen" />
		<!--[if gte IE 5.5]>
			<style type="text/css">
				div#msc_image {
					/* IE5.5+/Win - this is more specific
					than the IE 5.0 version */
					left: expression( ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) + 'px' );
					top: expression( ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) + 'px' );
					right: auto;
					bottom: auto;
				}
			</style>
		<![endif]-->
	<![endif]-->
	<!-- END SCRIPTS/STYLESHEETS FOR IE PC -->

</head>

	<a id="hash" name="null"></a>
	<?php
		if ($include_header
			&& file_exists("add_header.php")) {
			include("add_header.php");
		}
	?>
	<div id="global_container">   
	
<!--	<div id="debug"><p>[DEBUG] <span id="debug_content"><?php echo $_SERVER["HTTP_USER_AGENT"];?></span></p></div>		-->
	
	<!-- tooltip -->
	<div id="tooltip"></div>
	
	<!-- alert container--> 
	<div id="alert">
	<!--	<span id="msg">Alert goes here</span> -->
	<!--	<p><a id="dismiss" href="javascript:;" onclick="hideDiv('alert');"><?php echo $lang['alert_dismiss']?>...</a></p> -->
	</div>
	<!-- alert container -->
<div id="msc_menu">
</center>
			<h1><?php echo "Gallery ";if($gallery==14)echo 1; else if($gallery==15) echo 2; else if($gallery==16) echo 3; else if($gallery==17)echo 4;?> </h1>
		
			<!-- menu items div -->
			<div id="galleries_menu">
				<ul>
					<li <?php if($gallery==14) echo "style=\"background-color:#CCCCCC\""; ?> id="mitem_14" class="topline"><a id="set_12" href=<?php echo base_url()."view_new_portfolio/gallery/14"; ?> class="nonum">Gallery 1 </a></li>
					<li <?php if($gallery==15) echo "style=\"background-color:#CCCCCC\""; ?> id="mitem_15" class="topline"><a id="set_12" href=<?php echo base_url()."view_new_portfolio/gallery/15"; ?> class="nonum">Gallery 2 </a></li>
					<li <?php if($gallery==16) echo "style=\"background-color:#CCCCCC\""; ?> id="mitem_16" class="topline"><a id="set_12" href=<?php echo base_url()."view_new_portfolio/gallery/16"; ?> class="nonum">Gallery 3 </a></li>
					<li <?php if($gallery==17) echo "style=\"background-color:#CCCCCC\""; ?> id="mitem_17" class="topline"><a id="set_12" href=<?php echo base_url()."view_new_portfolio/gallery/17"; ?> class="nonum">Gallery 4 </a></li>
				</ul>
			</div>
</div>

<div id="header">	
			<h2>Current Projects
			</h2>
			<br>
</div>


<div id="thumbs_version">

		


<?php

if($gallery==14)
{	?>
<table>
	<tr>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_14/IMGP0115.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_14/IMGP0115.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_14/IMGP0118.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_14/IMGP0118.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_14/IMGP0119.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_14/IMGP0119.jpg" ?>></a></td>
	</tr>
	<tr>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_14/IMGP0121.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_14/IMGP0121.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_14/IMGP0125.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_14/IMGP0125.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_14/IMGP0127.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_14/IMGP0127.jpg" ?>></a></td>
	</tr>
	<tr>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_14/IMGP0130.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_14/IMGP0130.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_14/IMGP0131.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_14/IMGP0131.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_14/IMGP0132.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_14/IMGP0132.jpg" ?>></a></td>
	</tr>
	<tr>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_14/IMGP0134.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_14/IMGP0134.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_14/IMGP0135.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_14/IMGP0135.jpg" ?>></a></td>
	</tr>
</table>
<?php
}
else if($gallery==15)
{	?>
<table>
	<tr>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_15/IMGP0161.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_15/IMGP0161.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_15/IMGP0162.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_15/IMGP0162.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_15/IMGP0164.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_15/IMGP0164.jpg" ?>></a></td>
	</tr>
	<tr>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_15/IMGP0165.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_15/IMGP0165.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_15/IMGP0168.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_15/IMGP0168.jpg" ?>></a></td>
	</tr>
</table>
<?php
}
else if($gallery==16)
{	?>
<table>
	<tr>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_16/IMGP0202.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_16/IMGP0202.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_16/IMGP0204.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_16/IMGP0204.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_16/IMGP0205.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_16/IMGP0205.jpg" ?>></a></td>
	</tr>
	<tr>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_16/IMGP0207.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_16/IMGP0207.jpg" ?>></a></td>
	</tr>
</table>
<?php
}
else if($gallery==17)
{	?>
<table>
	<tr>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_17/DSC00009.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_17/DSC00009.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_17/DSC00010.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_17/DSC00010.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_17/DSC00046.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_17/DSC00046.jpg" ?>></a></td>
	</tr>
	<tr>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_17/DSC00069.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_17/DSC00069.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_17/IMGP0211.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_17/IMGP0211.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_17/IMGP0213.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_17/IMGP0213.jpg" ?>></a></td>
	</tr>
	<tr>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_17/IMGP0215.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_17/IMGP0215.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_17/IMGP0232.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_17/IMGP0232.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_17/IMGP0530.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_17/IMGP0530.jpg" ?>></a></td>
	</tr>
	<tr>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_17/IMGP0535.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_17/IMGP0535.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_17/IMGP0546.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_17/IMGP0546.jpg" ?>></a></td>
		<td id="photo"><a href=<?php echo base_url()."galleries/set_17/IMGP0547.jpg" ?> rel="lightbox[roadtrip]"><img width="100" alt="" src=<?php echo base_url()."galleries/set_17/IMGP0547.jpg" ?>></a></td>
	</tr>
</table>
<?php
}

?>
</div>

	<?php
		if ($include_footer
			&& file_exists("add_footer.php")) {
			include("add_footer.php");
		}
	?>
	
	<?php
		/**** DEBUG INFO ****/
		if ($settings['gallery_debug']) {
			echo ('<div id="debug_information">');
			phpinfo(INFO_CONFIGURATION);
			phpinfo(INFO_CONFIGURATION);
			phpinfo(INFO_ENVIRONMENT);
			phpinfo(INFO_VARIABLES);
			echo ('</div>');
		}
	?>
	

<?php include ('footer.php');
?>
</html>